package com.xq.mapper;

import com.xq.pojo.User;

import java.util.List;

/**
 * @author xq
 * @date 2021/4/28 16:43
 * @version 1.0
 * @description
 */
public interface UserMapper {
    int deleteByPrimaryKey(Integer userId);

    int insert(User record);

    User selectByPrimaryKey(Integer userId);

    int updateByPrimaryKey(User record);

    List<User> getAll();
}
